package com.vcc.service.client.dto.withdraw;


import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class SubmitWithdrawDto implements Serializable {

    @NotBlank(message = "请填写打款类型")
    private String type;

    @NotBlank(message = "请填写收款地址")
    private String address;

    @NotBlank(message = "请填写提现币种")
    private String currency;

    @NotNull(message = "请填写提现金额")
    @Min(message = "提现金额不能小于0", value = 0)
    private BigDecimal amount;

    private String remark;

    @NotBlank(message = "请选择提现钱包")
    private String walletId;


}
